/**
 * 
 */
package cn.gov.msa.service;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.gov.msa.model.Role;

/**
 * @author Administrator
 *
 */
@Service
public interface RoleService {

	public int deleteRole(String rolecode) throws Exception;

	public boolean saveData(Role role) throws Exception;

	public boolean updateData(Role role) throws Exception;
	
	public List<Role> selectRole(int pageNum, int pageSize, Role role) throws Exception;

	public Role getInfoByRoleCode(String rolecode) throws Exception;

	public List<Role> selectAllRole() throws Exception;
}
